package top.buyibuyi.course.service.login.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.login.LoginDao;
import top.buyibuyi.course.pojo.Admin;
import top.buyibuyi.course.service.login.LoginService;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginDao loginDao;
    @Override
    public Admin loginAdmin(Admin admin) {
        return loginDao.loginAdmin(admin);
    }
}
